// 绑定配送人员名称列表
EapTools.doAction("returnEnumController.do?getReturnDeliveryManName", {}, false, function(
		data) {
	var selectorArray = [];
	selectorArray.push("<option value=''>---请选择---</option>");
	$.each(data.attributes, function(key, value) {
		selectorArray.push("<option value='", key, "'>", value,
				"</option>");
	}); 

	$("select[code='deliveryMan']").append(selectorArray.join(""));
	$("select[id='deliveryMan']").append(selectorArray.join(""));
});

//绑定支付方式列表
EapTools.doAction("returnEnumController.do?getPayMethod", {}, false, function(
		data) {
	var selectorArray = [];
	selectorArray.push("<option value=''>---请选择---</option>");
	$.each(data.attributes, function(key, value) {
		selectorArray.push("<option value='", key, "'>", value,
				"</option>");
	}); 

	$("select[code='payMethod']").append(selectorArray.join(""));
	$("select[id='payMethod']").append(selectorArray.join(""));
});

